﻿<%@ Page Title="Forgotten Password" Language="C#" MasterPageFile="~/Layout.Master" AutoEventWireup="true" CodeBehind="Forgotten.aspx.cs" Inherits="Timesheet.WebForm.Account.Forgotten" %>

<%@ Register Assembly="DevExpress.Web.v14.2, Version=14.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">

    <div class="title">
        <dx:ASPxLabel ID="ASPxLabel2" runat="server" CssClass="maintitle" Text="Forgotten Password" Font-Size="22px" Font-Bold="true" ForeColor="#4A72A3"></dx:ASPxLabel>
    </div>

    <div class="detail">
        <table style="width: 100%;">
            <tr>
                <td style="width: 10%; text-align: left; height: 35px">
                    <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Email" Font-Size="12px" Font-Bold="true" ForeColor="#4A72A3"></dx:ASPxLabel>
                </td>
                <td style="width: 90%">
                    <dx:ASPxTextBox ID="ASPxTxtUserName" runat="server" Width="250px">
                    </dx:ASPxTextBox>
                    
                </td>
            </tr>
            <tr>
                <td style="width: 10%"></td>
                <td style="width: 90%">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                        ControlToValidate="ASPxTxtUserName" ErrorMessage="Email is required"  ForeColor="Red"
                        SetFocusOnError="True"></asp:RequiredFieldValidator>

                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
                        ErrorMessage="Invalid Email" ControlToValidate="ASPxTxtUserName"
                        SetFocusOnError="True"  ForeColor="Red"
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">
                    </asp:RegularExpressionValidator>
                     <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="New password is sent to your email"
                      Visible="False">
                    </dx:ASPxLabel>
                </td>
            </tr>
            <tr>
                <td style="width: 10%;"></td>
                <td style="width: 90%;">
                    <dx:ASPxButton ID="ASPxBtnLogin" runat="server" Text="Get Password" Width="80px"
                        OnClick="ASPxBtnLogin_Click">
                    </dx:ASPxButton>
                </td>
            </tr>
        </table>
    </div>


</asp:Content>
